package com.bw.service;

import com.bw.bean.Emp;
import com.bw.bean.Emp1;
import com.bw.dao.EmpDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EmpServiceImpl implements EmpService {

    @Autowired
    EmpDao dao;

    @Override
    public List<Emp> getList1() {
        return dao.getList1();
    }

    @Override
    public List<Emp1> getList2() {
        return dao.getList2();
    }

    @Override
    public List<Emp1> getList3() {
        return dao.getList3();
    }

    @Override
    public List<Emp> getList4() {
        return dao.getList4();
    }
}
